package com.himore.api.common.enums;

public enum  RoleTypeEnum {

    //用户类型 1、项目方，2、工长，3、租赁公司，4、司机
    PROJECT(101, "项目方"), FORCEMAN(102, "工长"), LEASING(103, "租赁公司"),DRIVER(100,"司机"),ADMIN(104,"管理员");

    private final long value;
    private final String name;

    RoleTypeEnum(long value, String name){
        this.value = value;
        this.name = name;
    }

    public String getName(){
        return name;
    }

    public long getValue(){
        return value;
    }
}
